package com.rc.saas.tenant.model.acct;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AcctBillOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AcctBillOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBillOrderIdIsNull() {
            addCriterion("bill_order_id is null");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdIsNotNull() {
            addCriterion("bill_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdEqualTo(Long value) {
            addCriterion("bill_order_id =", value, "billOrderId");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdNotEqualTo(Long value) {
            addCriterion("bill_order_id <>", value, "billOrderId");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdGreaterThan(Long value) {
            addCriterion("bill_order_id >", value, "billOrderId");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("bill_order_id >=", value, "billOrderId");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdLessThan(Long value) {
            addCriterion("bill_order_id <", value, "billOrderId");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("bill_order_id <=", value, "billOrderId");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdIn(List<Long> values) {
            addCriterion("bill_order_id in", values, "billOrderId");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdNotIn(List<Long> values) {
            addCriterion("bill_order_id not in", values, "billOrderId");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdBetween(Long value1, Long value2) {
            addCriterion("bill_order_id between", value1, value2, "billOrderId");
            return (Criteria) this;
        }

        public Criteria andBillOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("bill_order_id not between", value1, value2, "billOrderId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIsNull() {
            addCriterion("tenant_operator_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIsNotNull() {
            addCriterion("tenant_operator_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeEqualTo(String value) {
            addCriterion("tenant_operator_code =", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotEqualTo(String value) {
            addCriterion("tenant_operator_code <>", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeGreaterThan(String value) {
            addCriterion("tenant_operator_code >", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_operator_code >=", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLessThan(String value) {
            addCriterion("tenant_operator_code <", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_operator_code <=", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLike(String value) {
            addCriterion("tenant_operator_code like", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotLike(String value) {
            addCriterion("tenant_operator_code not like", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIn(List<String> values) {
            addCriterion("tenant_operator_code in", values, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotIn(List<String> values) {
            addCriterion("tenant_operator_code not in", values, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeBetween(String value1, String value2) {
            addCriterion("tenant_operator_code between", value1, value2, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_operator_code not between", value1, value2, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumIsNull() {
            addCriterion("bill_order_num is null");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumIsNotNull() {
            addCriterion("bill_order_num is not null");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumEqualTo(String value) {
            addCriterion("bill_order_num =", value, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumNotEqualTo(String value) {
            addCriterion("bill_order_num <>", value, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumGreaterThan(String value) {
            addCriterion("bill_order_num >", value, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("bill_order_num >=", value, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumLessThan(String value) {
            addCriterion("bill_order_num <", value, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumLessThanOrEqualTo(String value) {
            addCriterion("bill_order_num <=", value, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumLike(String value) {
            addCriterion("bill_order_num like", value, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumNotLike(String value) {
            addCriterion("bill_order_num not like", value, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumIn(List<String> values) {
            addCriterion("bill_order_num in", values, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumNotIn(List<String> values) {
            addCriterion("bill_order_num not in", values, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumBetween(String value1, String value2) {
            addCriterion("bill_order_num between", value1, value2, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andBillOrderNumNotBetween(String value1, String value2) {
            addCriterion("bill_order_num not between", value1, value2, "billOrderNum");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNull() {
            addCriterion("contract_id is null");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNotNull() {
            addCriterion("contract_id is not null");
            return (Criteria) this;
        }

        public Criteria andContractIdEqualTo(Long value) {
            addCriterion("contract_id =", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotEqualTo(Long value) {
            addCriterion("contract_id <>", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThan(Long value) {
            addCriterion("contract_id >", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThanOrEqualTo(Long value) {
            addCriterion("contract_id >=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThan(Long value) {
            addCriterion("contract_id <", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThanOrEqualTo(Long value) {
            addCriterion("contract_id <=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdIn(List<Long> values) {
            addCriterion("contract_id in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotIn(List<Long> values) {
            addCriterion("contract_id not in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdBetween(Long value1, Long value2) {
            addCriterion("contract_id between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotBetween(Long value1, Long value2) {
            addCriterion("contract_id not between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdIsNull() {
            addCriterion("acct_rule_id is null");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdIsNotNull() {
            addCriterion("acct_rule_id is not null");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdEqualTo(Long value) {
            addCriterion("acct_rule_id =", value, "acctRuleId");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdNotEqualTo(Long value) {
            addCriterion("acct_rule_id <>", value, "acctRuleId");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdGreaterThan(Long value) {
            addCriterion("acct_rule_id >", value, "acctRuleId");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdGreaterThanOrEqualTo(Long value) {
            addCriterion("acct_rule_id >=", value, "acctRuleId");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdLessThan(Long value) {
            addCriterion("acct_rule_id <", value, "acctRuleId");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdLessThanOrEqualTo(Long value) {
            addCriterion("acct_rule_id <=", value, "acctRuleId");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdIn(List<Long> values) {
            addCriterion("acct_rule_id in", values, "acctRuleId");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdNotIn(List<Long> values) {
            addCriterion("acct_rule_id not in", values, "acctRuleId");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdBetween(Long value1, Long value2) {
            addCriterion("acct_rule_id between", value1, value2, "acctRuleId");
            return (Criteria) this;
        }

        public Criteria andAcctRuleIdNotBetween(Long value1, Long value2) {
            addCriterion("acct_rule_id not between", value1, value2, "acctRuleId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNull() {
            addCriterion("elec_station_id is null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNotNull() {
            addCriterion("elec_station_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdEqualTo(Long value) {
            addCriterion("elec_station_id =", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotEqualTo(Long value) {
            addCriterion("elec_station_id <>", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThan(Long value) {
            addCriterion("elec_station_id >", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_station_id >=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThan(Long value) {
            addCriterion("elec_station_id <", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_station_id <=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIn(List<Long> values) {
            addCriterion("elec_station_id in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotIn(List<Long> values) {
            addCriterion("elec_station_id not in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdBetween(Long value1, Long value2) {
            addCriterion("elec_station_id between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_station_id not between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdIsNull() {
            addCriterion("withdraw_apply_id is null");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdIsNotNull() {
            addCriterion("withdraw_apply_id is not null");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdEqualTo(Long value) {
            addCriterion("withdraw_apply_id =", value, "withdrawApplyId");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdNotEqualTo(Long value) {
            addCriterion("withdraw_apply_id <>", value, "withdrawApplyId");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdGreaterThan(Long value) {
            addCriterion("withdraw_apply_id >", value, "withdrawApplyId");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("withdraw_apply_id >=", value, "withdrawApplyId");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdLessThan(Long value) {
            addCriterion("withdraw_apply_id <", value, "withdrawApplyId");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdLessThanOrEqualTo(Long value) {
            addCriterion("withdraw_apply_id <=", value, "withdrawApplyId");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdIn(List<Long> values) {
            addCriterion("withdraw_apply_id in", values, "withdrawApplyId");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdNotIn(List<Long> values) {
            addCriterion("withdraw_apply_id not in", values, "withdrawApplyId");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdBetween(Long value1, Long value2) {
            addCriterion("withdraw_apply_id between", value1, value2, "withdrawApplyId");
            return (Criteria) this;
        }

        public Criteria andWithdrawApplyIdNotBetween(Long value1, Long value2) {
            addCriterion("withdraw_apply_id not between", value1, value2, "withdrawApplyId");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeIsNull() {
            addCriterion("bill_start_time is null");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeIsNotNull() {
            addCriterion("bill_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeEqualTo(Date value) {
            addCriterion("bill_start_time =", value, "billStartTime");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeNotEqualTo(Date value) {
            addCriterion("bill_start_time <>", value, "billStartTime");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeGreaterThan(Date value) {
            addCriterion("bill_start_time >", value, "billStartTime");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("bill_start_time >=", value, "billStartTime");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeLessThan(Date value) {
            addCriterion("bill_start_time <", value, "billStartTime");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("bill_start_time <=", value, "billStartTime");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeIn(List<Date> values) {
            addCriterion("bill_start_time in", values, "billStartTime");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeNotIn(List<Date> values) {
            addCriterion("bill_start_time not in", values, "billStartTime");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeBetween(Date value1, Date value2) {
            addCriterion("bill_start_time between", value1, value2, "billStartTime");
            return (Criteria) this;
        }

        public Criteria andBillStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("bill_start_time not between", value1, value2, "billStartTime");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeIsNull() {
            addCriterion("bill_end_time is null");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeIsNotNull() {
            addCriterion("bill_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeEqualTo(Date value) {
            addCriterion("bill_end_time =", value, "billEndTime");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeNotEqualTo(Date value) {
            addCriterion("bill_end_time <>", value, "billEndTime");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeGreaterThan(Date value) {
            addCriterion("bill_end_time >", value, "billEndTime");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("bill_end_time >=", value, "billEndTime");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeLessThan(Date value) {
            addCriterion("bill_end_time <", value, "billEndTime");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("bill_end_time <=", value, "billEndTime");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeIn(List<Date> values) {
            addCriterion("bill_end_time in", values, "billEndTime");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeNotIn(List<Date> values) {
            addCriterion("bill_end_time not in", values, "billEndTime");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeBetween(Date value1, Date value2) {
            addCriterion("bill_end_time between", value1, value2, "billEndTime");
            return (Criteria) this;
        }

        public Criteria andBillEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("bill_end_time not between", value1, value2, "billEndTime");
            return (Criteria) this;
        }

        public Criteria andAcctDayIsNull() {
            addCriterion("acct_day is null");
            return (Criteria) this;
        }

        public Criteria andAcctDayIsNotNull() {
            addCriterion("acct_day is not null");
            return (Criteria) this;
        }

        public Criteria andAcctDayEqualTo(Date value) {
            addCriterion("acct_day =", value, "acctDay");
            return (Criteria) this;
        }

        public Criteria andAcctDayNotEqualTo(Date value) {
            addCriterion("acct_day <>", value, "acctDay");
            return (Criteria) this;
        }

        public Criteria andAcctDayGreaterThan(Date value) {
            addCriterion("acct_day >", value, "acctDay");
            return (Criteria) this;
        }

        public Criteria andAcctDayGreaterThanOrEqualTo(Date value) {
            addCriterion("acct_day >=", value, "acctDay");
            return (Criteria) this;
        }

        public Criteria andAcctDayLessThan(Date value) {
            addCriterion("acct_day <", value, "acctDay");
            return (Criteria) this;
        }

        public Criteria andAcctDayLessThanOrEqualTo(Date value) {
            addCriterion("acct_day <=", value, "acctDay");
            return (Criteria) this;
        }

        public Criteria andAcctDayIn(List<Date> values) {
            addCriterion("acct_day in", values, "acctDay");
            return (Criteria) this;
        }

        public Criteria andAcctDayNotIn(List<Date> values) {
            addCriterion("acct_day not in", values, "acctDay");
            return (Criteria) this;
        }

        public Criteria andAcctDayBetween(Date value1, Date value2) {
            addCriterion("acct_day between", value1, value2, "acctDay");
            return (Criteria) this;
        }

        public Criteria andAcctDayNotBetween(Date value1, Date value2) {
            addCriterion("acct_day not between", value1, value2, "acctDay");
            return (Criteria) this;
        }

        public Criteria andRunTimeIsNull() {
            addCriterion("run_time is null");
            return (Criteria) this;
        }

        public Criteria andRunTimeIsNotNull() {
            addCriterion("run_time is not null");
            return (Criteria) this;
        }

        public Criteria andRunTimeEqualTo(Date value) {
            addCriterion("run_time =", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeNotEqualTo(Date value) {
            addCriterion("run_time <>", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeGreaterThan(Date value) {
            addCriterion("run_time >", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("run_time >=", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeLessThan(Date value) {
            addCriterion("run_time <", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeLessThanOrEqualTo(Date value) {
            addCriterion("run_time <=", value, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeIn(List<Date> values) {
            addCriterion("run_time in", values, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeNotIn(List<Date> values) {
            addCriterion("run_time not in", values, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeBetween(Date value1, Date value2) {
            addCriterion("run_time between", value1, value2, "runTime");
            return (Criteria) this;
        }

        public Criteria andRunTimeNotBetween(Date value1, Date value2) {
            addCriterion("run_time not between", value1, value2, "runTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeIsNull() {
            addCriterion("push_time is null");
            return (Criteria) this;
        }

        public Criteria andPushTimeIsNotNull() {
            addCriterion("push_time is not null");
            return (Criteria) this;
        }

        public Criteria andPushTimeEqualTo(Date value) {
            addCriterion("push_time =", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeNotEqualTo(Date value) {
            addCriterion("push_time <>", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeGreaterThan(Date value) {
            addCriterion("push_time >", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("push_time >=", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeLessThan(Date value) {
            addCriterion("push_time <", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeLessThanOrEqualTo(Date value) {
            addCriterion("push_time <=", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeIn(List<Date> values) {
            addCriterion("push_time in", values, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeNotIn(List<Date> values) {
            addCriterion("push_time not in", values, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeBetween(Date value1, Date value2) {
            addCriterion("push_time between", value1, value2, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeNotBetween(Date value1, Date value2) {
            addCriterion("push_time not between", value1, value2, "pushTime");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIsNull() {
            addCriterion("total_power is null");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIsNotNull() {
            addCriterion("total_power is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPowerEqualTo(BigDecimal value) {
            addCriterion("total_power =", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotEqualTo(BigDecimal value) {
            addCriterion("total_power <>", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerGreaterThan(BigDecimal value) {
            addCriterion("total_power >", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_power >=", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerLessThan(BigDecimal value) {
            addCriterion("total_power <", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_power <=", value, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerIn(List<BigDecimal> values) {
            addCriterion("total_power in", values, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotIn(List<BigDecimal> values) {
            addCriterion("total_power not in", values, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_power between", value1, value2, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalPowerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_power not between", value1, value2, "totalPower");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyIsNull() {
            addCriterion("total_elec_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyIsNotNull() {
            addCriterion("total_elec_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyEqualTo(BigDecimal value) {
            addCriterion("total_elec_money =", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_elec_money <>", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_elec_money >", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_elec_money >=", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyLessThan(BigDecimal value) {
            addCriterion("total_elec_money <", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_elec_money <=", value, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyIn(List<BigDecimal> values) {
            addCriterion("total_elec_money in", values, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_elec_money not in", values, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_elec_money between", value1, value2, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalElecMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_elec_money not between", value1, value2, "totalElecMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyIsNull() {
            addCriterion("total_sevice_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyIsNotNull() {
            addCriterion("total_sevice_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money =", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money <>", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_sevice_money >", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money >=", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyLessThan(BigDecimal value) {
            addCriterion("total_sevice_money <", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_sevice_money <=", value, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyIn(List<BigDecimal> values) {
            addCriterion("total_sevice_money in", values, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_sevice_money not in", values, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_sevice_money between", value1, value2, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalSeviceMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_sevice_money not between", value1, value2, "totalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyIsNull() {
            addCriterion("total_discount_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyIsNotNull() {
            addCriterion("total_discount_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyEqualTo(BigDecimal value) {
            addCriterion("total_discount_money =", value, "totalDiscountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_discount_money <>", value, "totalDiscountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_discount_money >", value, "totalDiscountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_discount_money >=", value, "totalDiscountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyLessThan(BigDecimal value) {
            addCriterion("total_discount_money <", value, "totalDiscountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_discount_money <=", value, "totalDiscountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyIn(List<BigDecimal> values) {
            addCriterion("total_discount_money in", values, "totalDiscountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_discount_money not in", values, "totalDiscountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_discount_money between", value1, value2, "totalDiscountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalDiscountMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_discount_money not between", value1, value2, "totalDiscountMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNull() {
            addCriterion("total_money is null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNotNull() {
            addCriterion("total_money is not null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyEqualTo(BigDecimal value) {
            addCriterion("total_money =", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotEqualTo(BigDecimal value) {
            addCriterion("total_money <>", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThan(BigDecimal value) {
            addCriterion("total_money >", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_money >=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThan(BigDecimal value) {
            addCriterion("total_money <", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_money <=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIn(List<BigDecimal> values) {
            addCriterion("total_money in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotIn(List<BigDecimal> values) {
            addCriterion("total_money not in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_money between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_money not between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andPayAmountIsNull() {
            addCriterion("pay_amount is null");
            return (Criteria) this;
        }

        public Criteria andPayAmountIsNotNull() {
            addCriterion("pay_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPayAmountEqualTo(BigDecimal value) {
            addCriterion("pay_amount =", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotEqualTo(BigDecimal value) {
            addCriterion("pay_amount <>", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountGreaterThan(BigDecimal value) {
            addCriterion("pay_amount >", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_amount >=", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountLessThan(BigDecimal value) {
            addCriterion("pay_amount <", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_amount <=", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountIn(List<BigDecimal> values) {
            addCriterion("pay_amount in", values, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotIn(List<BigDecimal> values) {
            addCriterion("pay_amount not in", values, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_amount between", value1, value2, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_amount not between", value1, value2, "payAmount");
            return (Criteria) this;
        }

        public Criteria andConsultAmountIsNull() {
            addCriterion("consult_amount is null");
            return (Criteria) this;
        }

        public Criteria andConsultAmountIsNotNull() {
            addCriterion("consult_amount is not null");
            return (Criteria) this;
        }

        public Criteria andConsultAmountEqualTo(BigDecimal value) {
            addCriterion("consult_amount =", value, "consultAmount");
            return (Criteria) this;
        }

        public Criteria andConsultAmountNotEqualTo(BigDecimal value) {
            addCriterion("consult_amount <>", value, "consultAmount");
            return (Criteria) this;
        }

        public Criteria andConsultAmountGreaterThan(BigDecimal value) {
            addCriterion("consult_amount >", value, "consultAmount");
            return (Criteria) this;
        }

        public Criteria andConsultAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("consult_amount >=", value, "consultAmount");
            return (Criteria) this;
        }

        public Criteria andConsultAmountLessThan(BigDecimal value) {
            addCriterion("consult_amount <", value, "consultAmount");
            return (Criteria) this;
        }

        public Criteria andConsultAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("consult_amount <=", value, "consultAmount");
            return (Criteria) this;
        }

        public Criteria andConsultAmountIn(List<BigDecimal> values) {
            addCriterion("consult_amount in", values, "consultAmount");
            return (Criteria) this;
        }

        public Criteria andConsultAmountNotIn(List<BigDecimal> values) {
            addCriterion("consult_amount not in", values, "consultAmount");
            return (Criteria) this;
        }

        public Criteria andConsultAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("consult_amount between", value1, value2, "consultAmount");
            return (Criteria) this;
        }

        public Criteria andConsultAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("consult_amount not between", value1, value2, "consultAmount");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyIsNull() {
            addCriterion("bill_total_elec_money is null");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyIsNotNull() {
            addCriterion("bill_total_elec_money is not null");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyEqualTo(BigDecimal value) {
            addCriterion("bill_total_elec_money =", value, "billTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyNotEqualTo(BigDecimal value) {
            addCriterion("bill_total_elec_money <>", value, "billTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyGreaterThan(BigDecimal value) {
            addCriterion("bill_total_elec_money >", value, "billTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bill_total_elec_money >=", value, "billTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyLessThan(BigDecimal value) {
            addCriterion("bill_total_elec_money <", value, "billTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bill_total_elec_money <=", value, "billTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyIn(List<BigDecimal> values) {
            addCriterion("bill_total_elec_money in", values, "billTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyNotIn(List<BigDecimal> values) {
            addCriterion("bill_total_elec_money not in", values, "billTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bill_total_elec_money between", value1, value2, "billTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalElecMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bill_total_elec_money not between", value1, value2, "billTotalElecMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyIsNull() {
            addCriterion("bill_total_sevice_money is null");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyIsNotNull() {
            addCriterion("bill_total_sevice_money is not null");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyEqualTo(BigDecimal value) {
            addCriterion("bill_total_sevice_money =", value, "billTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyNotEqualTo(BigDecimal value) {
            addCriterion("bill_total_sevice_money <>", value, "billTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyGreaterThan(BigDecimal value) {
            addCriterion("bill_total_sevice_money >", value, "billTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bill_total_sevice_money >=", value, "billTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyLessThan(BigDecimal value) {
            addCriterion("bill_total_sevice_money <", value, "billTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bill_total_sevice_money <=", value, "billTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyIn(List<BigDecimal> values) {
            addCriterion("bill_total_sevice_money in", values, "billTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyNotIn(List<BigDecimal> values) {
            addCriterion("bill_total_sevice_money not in", values, "billTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bill_total_sevice_money between", value1, value2, "billTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalSeviceMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bill_total_sevice_money not between", value1, value2, "billTotalSeviceMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyIsNull() {
            addCriterion("bill_total_money is null");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyIsNotNull() {
            addCriterion("bill_total_money is not null");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyEqualTo(BigDecimal value) {
            addCriterion("bill_total_money =", value, "billTotalMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyNotEqualTo(BigDecimal value) {
            addCriterion("bill_total_money <>", value, "billTotalMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyGreaterThan(BigDecimal value) {
            addCriterion("bill_total_money >", value, "billTotalMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bill_total_money >=", value, "billTotalMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyLessThan(BigDecimal value) {
            addCriterion("bill_total_money <", value, "billTotalMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bill_total_money <=", value, "billTotalMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyIn(List<BigDecimal> values) {
            addCriterion("bill_total_money in", values, "billTotalMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyNotIn(List<BigDecimal> values) {
            addCriterion("bill_total_money not in", values, "billTotalMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bill_total_money between", value1, value2, "billTotalMoney");
            return (Criteria) this;
        }

        public Criteria andBillTotalMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bill_total_money not between", value1, value2, "billTotalMoney");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountIsNull() {
            addCriterion("adjust_elec_amount is null");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountIsNotNull() {
            addCriterion("adjust_elec_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountEqualTo(BigDecimal value) {
            addCriterion("adjust_elec_amount =", value, "adjustElecAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountNotEqualTo(BigDecimal value) {
            addCriterion("adjust_elec_amount <>", value, "adjustElecAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountGreaterThan(BigDecimal value) {
            addCriterion("adjust_elec_amount >", value, "adjustElecAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("adjust_elec_amount >=", value, "adjustElecAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountLessThan(BigDecimal value) {
            addCriterion("adjust_elec_amount <", value, "adjustElecAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("adjust_elec_amount <=", value, "adjustElecAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountIn(List<BigDecimal> values) {
            addCriterion("adjust_elec_amount in", values, "adjustElecAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountNotIn(List<BigDecimal> values) {
            addCriterion("adjust_elec_amount not in", values, "adjustElecAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("adjust_elec_amount between", value1, value2, "adjustElecAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustElecAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("adjust_elec_amount not between", value1, value2, "adjustElecAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountIsNull() {
            addCriterion("adjust_service_amount is null");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountIsNotNull() {
            addCriterion("adjust_service_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountEqualTo(BigDecimal value) {
            addCriterion("adjust_service_amount =", value, "adjustServiceAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountNotEqualTo(BigDecimal value) {
            addCriterion("adjust_service_amount <>", value, "adjustServiceAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountGreaterThan(BigDecimal value) {
            addCriterion("adjust_service_amount >", value, "adjustServiceAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("adjust_service_amount >=", value, "adjustServiceAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountLessThan(BigDecimal value) {
            addCriterion("adjust_service_amount <", value, "adjustServiceAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("adjust_service_amount <=", value, "adjustServiceAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountIn(List<BigDecimal> values) {
            addCriterion("adjust_service_amount in", values, "adjustServiceAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountNotIn(List<BigDecimal> values) {
            addCriterion("adjust_service_amount not in", values, "adjustServiceAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("adjust_service_amount between", value1, value2, "adjustServiceAmount");
            return (Criteria) this;
        }

        public Criteria andAdjustServiceAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("adjust_service_amount not between", value1, value2, "adjustServiceAmount");
            return (Criteria) this;
        }

        public Criteria andFactAmountIsNull() {
            addCriterion("fact_amount is null");
            return (Criteria) this;
        }

        public Criteria andFactAmountIsNotNull() {
            addCriterion("fact_amount is not null");
            return (Criteria) this;
        }

        public Criteria andFactAmountEqualTo(BigDecimal value) {
            addCriterion("fact_amount =", value, "factAmount");
            return (Criteria) this;
        }

        public Criteria andFactAmountNotEqualTo(BigDecimal value) {
            addCriterion("fact_amount <>", value, "factAmount");
            return (Criteria) this;
        }

        public Criteria andFactAmountGreaterThan(BigDecimal value) {
            addCriterion("fact_amount >", value, "factAmount");
            return (Criteria) this;
        }

        public Criteria andFactAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fact_amount >=", value, "factAmount");
            return (Criteria) this;
        }

        public Criteria andFactAmountLessThan(BigDecimal value) {
            addCriterion("fact_amount <", value, "factAmount");
            return (Criteria) this;
        }

        public Criteria andFactAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fact_amount <=", value, "factAmount");
            return (Criteria) this;
        }

        public Criteria andFactAmountIn(List<BigDecimal> values) {
            addCriterion("fact_amount in", values, "factAmount");
            return (Criteria) this;
        }

        public Criteria andFactAmountNotIn(List<BigDecimal> values) {
            addCriterion("fact_amount not in", values, "factAmount");
            return (Criteria) this;
        }

        public Criteria andFactAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fact_amount between", value1, value2, "factAmount");
            return (Criteria) this;
        }

        public Criteria andFactAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fact_amount not between", value1, value2, "factAmount");
            return (Criteria) this;
        }

        //public Criteria andDiffElecMoneyIsNull() {
        //    addCriterion("diff_elec_money is null");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyIsNotNull() {
        //    addCriterion("diff_elec_money is not null");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyEqualTo(BigDecimal value) {
        //    addCriterion("diff_elec_money =", value, "diffElecMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyNotEqualTo(BigDecimal value) {
        //    addCriterion("diff_elec_money <>", value, "diffElecMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyGreaterThan(BigDecimal value) {
        //    addCriterion("diff_elec_money >", value, "diffElecMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyGreaterThanOrEqualTo(BigDecimal value) {
        //    addCriterion("diff_elec_money >=", value, "diffElecMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyLessThan(BigDecimal value) {
        //    addCriterion("diff_elec_money <", value, "diffElecMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyLessThanOrEqualTo(BigDecimal value) {
        //    addCriterion("diff_elec_money <=", value, "diffElecMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyIn(List<BigDecimal> values) {
        //    addCriterion("diff_elec_money in", values, "diffElecMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyNotIn(List<BigDecimal> values) {
        //    addCriterion("diff_elec_money not in", values, "diffElecMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyBetween(BigDecimal value1, BigDecimal value2) {
        //    addCriterion("diff_elec_money between", value1, value2, "diffElecMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffElecMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
        //    addCriterion("diff_elec_money not between", value1, value2, "diffElecMoney");
        //    return (Criteria) this;
        //}
        //
        ////
        //public Criteria andDiffServiceMoneyIsNull() {
        //    addCriterion("diff_service_money is null");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyIsNotNull() {
        //    addCriterion("diff_service_money is not null");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyEqualTo(BigDecimal value) {
        //    addCriterion("diff_service_money =", value, "diffServiceMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyNotEqualTo(BigDecimal value) {
        //    addCriterion("diff_service_money <>", value, "diffServiceMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyGreaterThan(BigDecimal value) {
        //    addCriterion("diff_service_money >", value, "DiffServiceMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyGreaterThanOrEqualTo(BigDecimal value) {
        //    addCriterion("diff_service_money >=", value, "diffServiceMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyLessThan(BigDecimal value) {
        //    addCriterion("diff_service_money <", value, "DiffServiceMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyLessThanOrEqualTo(BigDecimal value) {
        //    addCriterion("diff_service_money <=", value, "diffServiceMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyIn(List<BigDecimal> values) {
        //    addCriterion("diff_service_money in", values, "diffServiceMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyNotIn(List<BigDecimal> values) {
        //    addCriterion("diff_service_money not in", values, "diffServiceMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyBetween(BigDecimal value1, BigDecimal value2) {
        //    addCriterion("diff_service_money between", value1, value2, "diffServiceMoney");
        //    return (Criteria) this;
        //}
        //
        //public Criteria andDiffServiceMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
        //    addCriterion("diff_service_money not between", value1, value2, "diffServiceMoney");
        //    return (Criteria) this;
        //}

        public Criteria andOrderCountIsNull() {
            addCriterion("order_count is null");
            return (Criteria) this;
        }

        public Criteria andOrderCountIsNotNull() {
            addCriterion("order_count is not null");
            return (Criteria) this;
        }

        public Criteria andOrderCountEqualTo(Integer value) {
            addCriterion("order_count =", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountNotEqualTo(Integer value) {
            addCriterion("order_count <>", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountGreaterThan(Integer value) {
            addCriterion("order_count >", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_count >=", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountLessThan(Integer value) {
            addCriterion("order_count <", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountLessThanOrEqualTo(Integer value) {
            addCriterion("order_count <=", value, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountIn(List<Integer> values) {
            addCriterion("order_count in", values, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountNotIn(List<Integer> values) {
            addCriterion("order_count not in", values, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountBetween(Integer value1, Integer value2) {
            addCriterion("order_count between", value1, value2, "orderCount");
            return (Criteria) this;
        }

        public Criteria andOrderCountNotBetween(Integer value1, Integer value2) {
            addCriterion("order_count not between", value1, value2, "orderCount");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        //
        public Criteria andRejectRemarkIsNull() {
            addCriterion("reject_remark is null");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkIsNotNull() {
            addCriterion("reject_remark is not null");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkEqualTo(String value) {
            addCriterion("reject_remark =", value, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkNotEqualTo(String value) {
            addCriterion("reject_remark <>", value, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkGreaterThan(String value) {
            addCriterion("reject_remark >", value, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("reject_remark >=", value, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkLessThan(String value) {
            addCriterion("reject_remark <", value, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkLessThanOrEqualTo(String value) {
            addCriterion("reject_remark <=", value, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkLike(String value) {
            addCriterion("reject_remark like", value, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkNotLike(String value) {
            addCriterion("reject_remark not like", value, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkIn(List<String> values) {
            addCriterion("reject_remark in", values, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkNotIn(List<String> values) {
            addCriterion("reject_remark not in", values, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkBetween(String value1, String value2) {
            addCriterion("reject_remark between", value1, value2, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andRejectRemarkNotBetween(String value1, String value2) {
            addCriterion("reject_remark not between", value1, value2, "rejectRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkIsNull() {
            addCriterion("supply_remark is null");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkIsNotNull() {
            addCriterion("supply_remark is not null");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkEqualTo(String value) {
            addCriterion("supply_remark =", value, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkNotEqualTo(String value) {
            addCriterion("supply_remark <>", value, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkGreaterThan(String value) {
            addCriterion("supply_remark >", value, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("supply_remark >=", value, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkLessThan(String value) {
            addCriterion("supply_remark <", value, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkLessThanOrEqualTo(String value) {
            addCriterion("supply_remark <=", value, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkLike(String value) {
            addCriterion("supply_remark like", value, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkNotLike(String value) {
            addCriterion("supply_remark not like", value, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkIn(List<String> values) {
            addCriterion("supply_remark in", values, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkNotIn(List<String> values) {
            addCriterion("supply_remark not in", values, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkBetween(String value1, String value2) {
            addCriterion("supply_remark between", value1, value2, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andSupplyRemarkNotBetween(String value1, String value2) {
            addCriterion("supply_remark not between", value1, value2, "supplyRemark");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}